<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>PaleGem: pgRender Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">PaleGem
   &#160;<span id="projectnumber">0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classpg_render-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">pgRender Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="pg_render_8h_source.html">pgRender.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for pgRender:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpg_render.png" usemap="#pgRender_map" alt=""/>
  <map id="pgRender_map" name="pgRender_map">
<area href="class_i_event_listener.html" title="Holds the OnEvent function." alt="IEventListener" shape="rect" coords="0,0,92,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0cf7faac9009006d56db80f596291dc2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a0cf7faac9009006d56db80f596291dc2">pgRender</a> ()</td></tr>
<tr class="separator:a0cf7faac9009006d56db80f596291dc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6411e46fc879e4bd810febda9043390b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a6411e46fc879e4bd810febda9043390b">~pgRender</a> ()</td></tr>
<tr class="separator:a6411e46fc879e4bd810febda9043390b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89d22dd71030cdf097766b2ddc55f208"><td class="memItemLeft" align="right" valign="top">HRESULT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a89d22dd71030cdf097766b2ddc55f208">Init</a> ()</td></tr>
<tr class="separator:a89d22dd71030cdf097766b2ddc55f208"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c88d6c768a54a8fd464d48d0206165a"><td class="memItemLeft" align="right" valign="top">HRESULT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a7c88d6c768a54a8fd464d48d0206165a">Release</a> ()</td></tr>
<tr class="separator:a7c88d6c768a54a8fd464d48d0206165a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a2a5a02746cabd800c6fe99928eb4ba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a2a2a5a02746cabd800c6fe99928eb4ba">Render</a> ()</td></tr>
<tr class="separator:a2a2a5a02746cabd800c6fe99928eb4ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e4b502439a7ba3b9bb6644260e61d69"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a5e4b502439a7ba3b9bb6644260e61d69">OnEvent</a> (<a class="el" href="struct_i_event.html">IEvent</a> *eEvent)</td></tr>
<tr class="memdesc:a5e4b502439a7ba3b9bb6644260e61d69"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called by the event manager.  <a href="#a5e4b502439a7ba3b9bb6644260e61d69">More...</a><br/></td></tr>
<tr class="separator:a5e4b502439a7ba3b9bb6644260e61d69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8975e9b788eaa5a1e4996eed4d3519ba"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a8975e9b788eaa5a1e4996eed4d3519ba">IsInitialized</a> ()</td></tr>
<tr class="separator:a8975e9b788eaa5a1e4996eed4d3519ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae08925d44769225a924842851114d80c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpg_vertex_shader.html">pgVertexShader</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#ae08925d44769225a924842851114d80c">GetVertexShader</a> (unsigned int idx)</td></tr>
<tr class="separator:ae08925d44769225a924842851114d80c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a052b98c44507342664170ab466e2f386"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpg_pixel_shader.html">pgPixelShader</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a052b98c44507342664170ab466e2f386">GetPixelShader</a> (unsigned int idx)</td></tr>
<tr class="separator:a052b98c44507342664170ab466e2f386"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01f50abf7459f07c71c9a61ce62cf5a9"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a01f50abf7459f07c71c9a61ce62cf5a9">GetIndexOfPixelShader</a> (const char *szName)</td></tr>
<tr class="separator:a01f50abf7459f07c71c9a61ce62cf5a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90791e71c3b6b32e95ab5b237b963490"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a90791e71c3b6b32e95ab5b237b963490">GetIndexOfVertexShader</a> (const char *szName)</td></tr>
<tr class="separator:a90791e71c3b6b32e95ab5b237b963490"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa073beba57723e9ac4151afcf3704986"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#aa073beba57723e9ac4151afcf3704986">AddRenderNode</a> (<a class="el" href="class_i_renderable_object.html">IRenderableObject</a> *pNode)</td></tr>
<tr class="separator:aa073beba57723e9ac4151afcf3704986"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_i_event_listener"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_i_event_listener')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_i_event_listener.html">IEventListener</a></td></tr>
<tr class="memitem:a4d6ddb3ba50a87727aed9d530fe7d200 inherit pub_methods_class_i_event_listener"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_event_listener.html#a4d6ddb3ba50a87727aed9d530fe7d200">IEventListener</a> ()</td></tr>
<tr class="separator:a4d6ddb3ba50a87727aed9d530fe7d200 inherit pub_methods_class_i_event_listener"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81170264da18c0e9d62c7ca9c3dc57af inherit pub_methods_class_i_event_listener"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_event_listener.html#a81170264da18c0e9d62c7ca9c3dc57af">~IEventListener</a> ()</td></tr>
<tr class="separator:a81170264da18c0e9d62c7ca9c3dc57af inherit pub_methods_class_i_event_listener"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a5650620621116dbd5dfc4b3486c635c7"><td class="memItemLeft" align="right" valign="top">ID3D11Device *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a5650620621116dbd5dfc4b3486c635c7">m_pd3dDevice</a></td></tr>
<tr class="separator:a5650620621116dbd5dfc4b3486c635c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7749c5bee461407c802e4b82d0001aa"><td class="memItemLeft" align="right" valign="top">ID3D11DeviceContext *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#ab7749c5bee461407c802e4b82d0001aa">m_pImmediateContext</a></td></tr>
<tr class="separator:ab7749c5bee461407c802e4b82d0001aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a783f2ffff5a9eb2903a4c7cb8779820a"><td class="memItemLeft" align="right" valign="top">ID3D11RenderTargetView *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a783f2ffff5a9eb2903a4c7cb8779820a">m_pRenderTargetView</a></td></tr>
<tr class="separator:a783f2ffff5a9eb2903a4c7cb8779820a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b6b17e22fa219090414fa06487b94bd"><td class="memItemLeft" align="right" valign="top">ID3D11RasterizerState *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a2b6b17e22fa219090414fa06487b94bd">m_pRasterState</a></td></tr>
<tr class="separator:a2b6b17e22fa219090414fa06487b94bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4381e0702a80082b82f11f191f69513"><td class="memItemLeft" align="right" valign="top">XMMATRIX&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#aa4381e0702a80082b82f11f191f69513">m_projectionMatrix</a></td></tr>
<tr class="separator:aa4381e0702a80082b82f11f191f69513"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88c0536eb0c16cfd5c111b3db636c5d7"><td class="memItemLeft" align="right" valign="top">XMMATRIX&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a88c0536eb0c16cfd5c111b3db636c5d7">m_viewMatrix</a></td></tr>
<tr class="separator:a88c0536eb0c16cfd5c111b3db636c5d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_class_i_event_listener"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_i_event_listener')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_i_event_listener.html">IEventListener</a></td></tr>
<tr class="memitem:a646584657e48f3ee78d7389f97cf8ebd inherit pub_attribs_class_i_event_listener"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_event_listener.html#a646584657e48f3ee78d7389f97cf8ebd">id</a></td></tr>
<tr class="memdesc:a646584657e48f3ee78d7389f97cf8ebd inherit pub_attribs_class_i_event_listener"><td class="mdescLeft">&#160;</td><td class="mdescRight">The id of a listener instance.  <a href="#a646584657e48f3ee78d7389f97cf8ebd">More...</a><br/></td></tr>
<tr class="separator:a646584657e48f3ee78d7389f97cf8ebd inherit pub_attribs_class_i_event_listener"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a2ab60fd625c4648eb9d1a7e24bc801f1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a2ab60fd625c4648eb9d1a7e24bc801f1">InitShaders</a> ()</td></tr>
<tr class="separator:a2ab60fd625c4648eb9d1a7e24bc801f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cb79e9678d70285351b411fbe540a47"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a3cb79e9678d70285351b411fbe540a47">ReleaseShaders</a> ()</td></tr>
<tr class="separator:a3cb79e9678d70285351b411fbe540a47"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a57cfbc8aa6e25f5dd4c3b76f9eb4922e"><td class="memItemLeft" align="right" valign="top">IDXGISwapChain *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a57cfbc8aa6e25f5dd4c3b76f9eb4922e">m_pSwapChain</a></td></tr>
<tr class="separator:a57cfbc8aa6e25f5dd4c3b76f9eb4922e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab48cdeee9676760de5b8c5b754fbc234"><td class="memItemLeft" align="right" valign="top">D3D_DRIVER_TYPE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#ab48cdeee9676760de5b8c5b754fbc234">m_driverType</a></td></tr>
<tr class="separator:ab48cdeee9676760de5b8c5b754fbc234"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb9774e727bda6aba742487b6aa0a8e7"><td class="memItemLeft" align="right" valign="top">D3D_FEATURE_LEVEL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#adb9774e727bda6aba742487b6aa0a8e7">m_featureLevel</a></td></tr>
<tr class="separator:adb9774e727bda6aba742487b6aa0a8e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d6ad177626745bb6bc25c4b1c074fef"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a3d6ad177626745bb6bc25c4b1c074fef">m_bIsInitialized</a></td></tr>
<tr class="separator:a3d6ad177626745bb6bc25c4b1c074fef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a981f490a65896731d362bdae9f75cd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpg_vertex_shader.html">pgVertexShader</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a3a981f490a65896731d362bdae9f75cd">m_apVertexShaders</a></td></tr>
<tr class="separator:a3a981f490a65896731d362bdae9f75cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05363cbe468116125d48f76f0273360f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpg_pixel_shader.html">pgPixelShader</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a05363cbe468116125d48f76f0273360f">m_apPixelShaders</a></td></tr>
<tr class="separator:a05363cbe468116125d48f76f0273360f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace2b2caa47bcb81050f5af6e9c703ef8"><td class="memItemLeft" align="right" valign="top">std::map&lt; const char <br class="typebreak"/>
*, unsigned int &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#ace2b2caa47bcb81050f5af6e9c703ef8">m_pVertexMap</a></td></tr>
<tr class="separator:ace2b2caa47bcb81050f5af6e9c703ef8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ea9f864c10a64512dfbb067011cd395"><td class="memItemLeft" align="right" valign="top">std::map&lt; const char <br class="typebreak"/>
*, unsigned int &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#a2ea9f864c10a64512dfbb067011cd395">m_pPixelMap</a></td></tr>
<tr class="separator:a2ea9f864c10a64512dfbb067011cd395"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecaccc398d96efe2f7749209444fdebd"><td class="memItemLeft" align="right" valign="top">std::pair&lt; const char <br class="typebreak"/>
*, unsigned int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#aecaccc398d96efe2f7749209444fdebd">m_charIntPair</a></td></tr>
<tr class="separator:aecaccc398d96efe2f7749209444fdebd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa284584760f011b630bf09e841fc5c00"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#aa284584760f011b630bf09e841fc5c00">m_nPixelShaderCount</a></td></tr>
<tr class="separator:aa284584760f011b630bf09e841fc5c00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adceb0eec78860709f7b4a587c72ce70f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#adceb0eec78860709f7b4a587c72ce70f">m_nVertexShaderCount</a></td></tr>
<tr class="separator:adceb0eec78860709f7b4a587c72ce70f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6c87499bdc290dd68605934361ec49b"><td class="memItemLeft" align="right" valign="top">std::list&lt; <a class="el" href="class_i_renderable_object.html">IRenderableObject</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpg_render.html#ae6c87499bdc290dd68605934361ec49b">m_renderNodes</a></td></tr>
<tr class="separator:ae6c87499bdc290dd68605934361ec49b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_attribs_class_i_event_listener"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_class_i_event_listener')"><img src="closed.png" alt="-"/>&#160;Static Public Attributes inherited from <a class="el" href="class_i_event_listener.html">IEventListener</a></td></tr>
<tr class="memitem:a0c128e3ba3d9510a57966480a47b2780 inherit pub_static_attribs_class_i_event_listener"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_event_listener.html#a0c128e3ba3d9510a57966480a47b2780">numInstances</a> = 0</td></tr>
<tr class="memdesc:a0c128e3ba3d9510a57966480a47b2780 inherit pub_static_attribs_class_i_event_listener"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to distribute ids of listeners.  <a href="#a0c128e3ba3d9510a57966480a47b2780">More...</a><br/></td></tr>
<tr class="separator:a0c128e3ba3d9510a57966480a47b2780 inherit pub_static_attribs_class_i_event_listener"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a0cf7faac9009006d56db80f596291dc2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pgRender::pgRender </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a6411e46fc879e4bd810febda9043390b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pgRender::~pgRender </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aa073beba57723e9ac4151afcf3704986"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pgRender::AddRenderNode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_i_renderable_object.html">IRenderableObject</a> *&#160;</td>
          <td class="paramname"><em>pNode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a01f50abf7459f07c71c9a61ce62cf5a9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int pgRender::GetIndexOfPixelShader </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>szName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a90791e71c3b6b32e95ab5b237b963490"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int pgRender::GetIndexOfVertexShader </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>szName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a052b98c44507342664170ab466e2f386"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpg_pixel_shader.html">pgPixelShader</a> pgRender::GetPixelShader </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>idx</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ae08925d44769225a924842851114d80c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpg_vertex_shader.html">pgVertexShader</a> pgRender::GetVertexShader </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>idx</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a89d22dd71030cdf097766b2ddc55f208"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">HRESULT pgRender::Init </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a2ab60fd625c4648eb9d1a7e24bc801f1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pgRender::InitShaders </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a8975e9b788eaa5a1e4996eed4d3519ba"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pgRender::IsInitialized </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a5e4b502439a7ba3b9bb6644260e61d69"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pgRender::OnEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_i_event.html">IEvent</a> *&#160;</td>
          <td class="paramname"><em>eEvent</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Called by the event manager. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">eEvent</td><td>Passed by the event manager. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="struct_i_event.html" title="Event structure.">IEvent</a> </dd></dl>

<p>Implements <a class="el" href="class_i_event_listener.html#a40210b0cc287ec611c2e05eebb8964aa">IEventListener</a>.</p>

</div>
</div>
<a class="anchor" id="a7c88d6c768a54a8fd464d48d0206165a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">HRESULT pgRender::Release </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a3cb79e9678d70285351b411fbe540a47"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pgRender::ReleaseShaders </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a2a2a5a02746cabd800c6fe99928eb4ba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pgRender::Render </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a05363cbe468116125d48f76f0273360f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpg_pixel_shader.html">pgPixelShader</a>* pgRender::m_apPixelShaders</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a3a981f490a65896731d362bdae9f75cd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpg_vertex_shader.html">pgVertexShader</a>* pgRender::m_apVertexShaders</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a3d6ad177626745bb6bc25c4b1c074fef"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pgRender::m_bIsInitialized</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aecaccc398d96efe2f7749209444fdebd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::pair&lt;const char*,unsigned int&gt; pgRender::m_charIntPair</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ab48cdeee9676760de5b8c5b754fbc234"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">D3D_DRIVER_TYPE pgRender::m_driverType</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="adb9774e727bda6aba742487b6aa0a8e7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">D3D_FEATURE_LEVEL pgRender::m_featureLevel</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aa284584760f011b630bf09e841fc5c00"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int pgRender::m_nPixelShaderCount</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="adceb0eec78860709f7b4a587c72ce70f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int pgRender::m_nVertexShaderCount</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a5650620621116dbd5dfc4b3486c635c7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ID3D11Device* pgRender::m_pd3dDevice</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ab7749c5bee461407c802e4b82d0001aa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ID3D11DeviceContext* pgRender::m_pImmediateContext</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a2ea9f864c10a64512dfbb067011cd395"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::map&lt;const char*, unsigned int&gt;* pgRender::m_pPixelMap</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a2b6b17e22fa219090414fa06487b94bd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ID3D11RasterizerState* pgRender::m_pRasterState</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a783f2ffff5a9eb2903a4c7cb8779820a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ID3D11RenderTargetView* pgRender::m_pRenderTargetView</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aa4381e0702a80082b82f11f191f69513"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">XMMATRIX pgRender::m_projectionMatrix</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a57cfbc8aa6e25f5dd4c3b76f9eb4922e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">IDXGISwapChain* pgRender::m_pSwapChain</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ace2b2caa47bcb81050f5af6e9c703ef8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::map&lt;const char*, unsigned int&gt;* pgRender::m_pVertexMap</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ae6c87499bdc290dd68605934361ec49b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::list&lt;<a class="el" href="class_i_renderable_object.html">IRenderableObject</a>*&gt; pgRender::m_renderNodes</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a88c0536eb0c16cfd5c111b3db636c5d7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">XMMATRIX pgRender::m_viewMatrix</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>Inc/<a class="el" href="pg_render_8h_source.html">pgRender.h</a></li>
<li>Source/<a class="el" href="pg_render_8cpp.html">pgRender.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 1 2013 11:55:07 for PaleGem by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>
